Renombrar Volume Group on-line

El Blog de Dragonfly
Fuentes:

ubuntuforums.org/showthread.php?t=2290548

www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/VG_rename.html

www.golinuxhub.com/2014/03/how-to-rename-logical-volume-and-volume.html

oraganism.wordpress.com/2013/03/09/rename-lvm-vg-for-root-fs-lv/

Script:

#!/bin/bash
#vgrename

echo “changing LVM names”

# Must be run with root permissions
# sudo will be sufficient

if [ "$(id -u)" != «0» ]; then
echo «This script must be run as root» 1>&2
exit 1
fi

#Ask...


Leer más